<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
<form action="bill/edit">
    <input type="hidden" name="id" value="${requestScope.bill.id}">
    <div class="form-group">
        <label for="billCode">订单编号</label>
        <input type="text" value="${requestScope.bill.billCode}" name="billCode" class="form-control" id="billCode" placeholder="订单编号">
    </div>
    <div class="form-group">
        <label for="productName">产品名称</label>
        <input type="text" value="${requestScope.bill.productName}" class="form-control" name="productName" id="productName" placeholder="商品名称">
    </div>
    <div class="form-group">
        <label for="creationDate">下单时间</label>
        <input type="text" value='<fmt:formatDate pattern="yyyy-MM-dd hh:mm:ss" value="${requestScope.bill.creationDate}"/>' class="form-control layer-date" name="creationDate" id="creationDate" placeholder="下单时间">
        <script>
            $(function () {
                $('#creationDate').click(function () {
                    laydate({format: 'YYYY-MM-DD hh:mm:ss',istime:true});
                });
            });
        </script>
    </div>
</form>

